/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved.
 */
package com.kaaction.modules.operate.entity;

import org.hibernate.validator.constraints.Length;

import com.kaaction.common.persistence.DataEntity;

/**
 * 客户需求Entity
 * @author zengbiao
 * @version 2017-04-13
 */
public class ClientMaterial extends DataEntity<ClientMaterial> {
	
	private static final long serialVersionUID = 1L;
	private String clientId;		// client_id
	private String materialId;		// material_id
	
	public ClientMaterial() {
		super();
	}

	public ClientMaterial(String id){
		super(id);
	}

	@Length(min=1, max=64, message="client_id长度必须介于 1 和 64 之间")
	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}
	
	@Length(min=1, max=64, message="material_id长度必须介于 1 和 64 之间")
	public String getMaterialId() {
		return materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}
	
}